package com.usian.apis.wemedia;

import com.baomidou.mybatisplus.extension.api.R;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmMaterialDto;
import org.springframework.web.multipart.MultipartFile;

public interface WmMaterialControllerApi {

    /**
     * 上传图片
     * @param file
     * @return
     */
    ResponseResult uploadPicture(MultipartFile file);

    ResponseResult findList(WmMaterialDto dto);

    /**
     * 删除图片
     * @param id
     * @return
     */
    ResponseResult delPicture(Integer id);

     ResponseResult cancelCollectionMaterial(Integer id);

     ResponseResult collectionMaterial(Integer id);



}